-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(select): reposition panel on scroll #3808
Conversation
src/lib/select/select.ts
Outdated
@@ -131,6 +132,9 @@ export class MdSelect implements AfterContentInit, ControlValueAccessor, OnDestr | |||
/** Subscription to tab events while overlay is focused. */ | |||
private _tabSubscription: Subscription; | |||
|
|||
/** Subscription to global scrolled events while the select is open. */ | |||
private _scrolledSubscription: Subscription; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Mind changing this to _scrollSubscription
? For some reason, I keep tripping over it as is because it sounds like past tense.
@crisbeto Can you rebase this? |
057afc4
to
44dfd3c
Compare
Renamed and rebased @kara. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@crisbeto Can you rebase? |
Repositions the select panel if the user scrolls while it is open.
9c11dae
to
c2f4252
Compare
Rebased. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Repositions the select panel if the user scrolls while it is open.